

<h:form>
<a id="href_home" href="${nav.href_home}">Home</a> | 
<c:choose>
	<c:when test="${pageContext.request.userPrincipal.name != null}">
		
			<h:commandLink id="logout" action="nav_logout" actionListener="#{UserBean.userLogout}">
				<h:outputText value="Log Out |"/>
			</h:commandLink>
		
	</c:when> 
	<c:otherwise>
		<a id="href_account" href="${nav.href_account}">Log In</a> | 
	</c:otherwise>
</c:choose>
</h:form>